package common

const (
	RootPath    = "/root/"
	MntPath     = "/root/mnt/"
	WorkPath    = "/root/mnt/work/"
	WriterLayer = "writerLayer"
	Work        = "work"
)

const (
	Running                  = "Running"
	Stop                     = "Stopped"
	Exit                     = "Exited"
	IDLength                 = 10
	LogFile                  = "%s-json.log"
	DefaultContainerInfoPath = "/var/lib/my-docker/containers" // 默认的容器信息路径
	ConfigName               = "config.json"
)

// nsenter 里的 C 代码里已经出现 my_docker_pid 和 my_docker_cmd 这两个 key
const (
	EnvExecPid = "my_docker_pid" // docker 进程的 PID（补充：PID：进程标识符；ID：标识符）
	EnvExecCmd = "my_docker_cmd" // docker 命令
)

const (
	DefaultNetWorkPath   = "/var/lib/my-docker/network/network/"         // 默认的网络路径
	DefaultAllocatorPath = "/var/lib/my-docker/network/ipam/subnet.json" // 默认的 IP 分配器路径
)

const (
	DefaultMemoryLimit = "512m"
	DefaultCpuCFSQuota = 20
)
